package com.atjava.nebula.frames.menu;

import java.util.Date;

import com.atjava.nebula.core.annotation.Column;
import com.atjava.nebula.core.model.TreeModel;

public class SysMenu extends TreeModel{
	
    private Short pkid;

    private String name;

    private Short pid;

    private String link;

    private Short seq;

    private String note;

    private Date updateTime;

    private Date createTime;
    
    @Column(name="PKID")
    public Short getPkid() {
        return pkid;
    }

    public void setPkid(Short pkid) {
        this.pkid = pkid;
    }

    @Column(name="NAME")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Column(name="PID")
    public Short getPid() {
        return pid;
    }

    public void setPid(Short pid) {
        this.pid = pid;
    }

    @Column(name="LINK")
    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    @Column(name="SEQ")
    public Short getSeq() {
        return seq;
    }

    public void setSeq(Short seq) {
        this.seq = seq;
    }

    @Column(name="NOTE")
    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    @Column(name="UPDATE_TIME")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Column(name="CREATE_TIME")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
	public Short getParentPkid() {
		return this.pid;
	}

}